# -*- coding:utf-8 -*-
import unittest
import datetime

from django.contrib.auth.models import User

import models
import views

class TestForum(unittest.TestCase):
    def test_fields(self):
        # testando campos obrigatorios
        forum_sony = models.Forum()
        forum_sony.title='Sony'
        forum_sony.short='aparelhos da sony'
        forum_sony.username=User.objects.get_or_create(username='teste', 
                                                  email='fake@hotmail.com', password='teste')
        forum_sony.label=models.ForumLabel.objects.get_or_create(name='jogos')
        forum_sony.image=''
        forum_sony.image_small=''
        forum_sony.moderation=User.objects.get_or_create(username='teste', 
                                                  email='fake@hotmail.com', password='teste')
        
        # testando com tudo preenchido
        
    
    def test_subforum(self):
        pass
    
class TestAnswer(unittest.TestCase):
    def test_fields(self):
        pass

class TestTopic(unittest.TestCase):
    def test_fields(self):
        pass
    
class TestLabel(unittest.TestCase):
    def test_fields(self):
        pass

class TestForumProfile(unittest.TestCase):
    def test_fields(self):
        pass

class TestFriends(unittest.TestCase):
    pass
